﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, DataContract(Name="UdfReportSettingQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class UdfReportSettingQueryEntity : BaseQuery
    {
        [OptionalField]
        private string DataSourceName1Field;
        [OptionalField]
        private string DataSourceName2Field;
        [OptionalField]
        private string RemarkField;
        [OptionalField]
        private string ReportFileField;
        [OptionalField]
        private string ReportIDField;
        [OptionalField]
        private string ReportNameField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string DataSourceName1
        {
            get
            {
                return this.DataSourceName1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.DataSourceName1Field, value))
                {
                    this.DataSourceName1Field = value;
                    base.RaisePropertyChanged("DataSourceName1");
                }
            }
        }

        [DataMember]
        public string DataSourceName2
        {
            get
            {
                return this.DataSourceName2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.DataSourceName2Field, value))
                {
                    this.DataSourceName2Field = value;
                    base.RaisePropertyChanged("DataSourceName2");
                }
            }
        }

        [DataMember]
        public string Remark
        {
            get
            {
                return this.RemarkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RemarkField, value))
                {
                    this.RemarkField = value;
                    base.RaisePropertyChanged("Remark");
                }
            }
        }

        [DataMember]
        public string ReportFile
        {
            get
            {
                return this.ReportFileField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReportFileField, value))
                {
                    this.ReportFileField = value;
                    base.RaisePropertyChanged("ReportFile");
                }
            }
        }

        [DataMember]
        public string ReportID
        {
            get
            {
                return this.ReportIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReportIDField, value))
                {
                    this.ReportIDField = value;
                    base.RaisePropertyChanged("ReportID");
                }
            }
        }

        [DataMember]
        public string ReportName
        {
            get
            {
                return this.ReportNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReportNameField, value))
                {
                    this.ReportNameField = value;
                    base.RaisePropertyChanged("ReportName");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

